package com.youlai.boot.modules.accounts.model.form;

import java.io.Serial;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

/**
 * 账户归属人表单对象
 *
 * @author lz0816
 * @since 2025-05-23 15:10
 */
@Getter
@Setter
@Schema(description = "账户归属人表单对象")
public class AccountOwnerForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotBlank(message = "不能为空")
    @Size(max = 255, message = "长度不能超过255个字符")
    private String name;

    @Size(max = 255, message = "长度不能超过255个字符")
    private String remark;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
